package com.logistics.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.logistics.Shop;
import com.logistics.ShopQueryParam;
import com.logistics.dao.ShopDao;

import cn.easybuild.core.dao.AppBaseDao;
import cn.easybuild.core.service.StringPojoAppBaseServiceImpl;

@Service
public class ShopServiceImpl extends StringPojoAppBaseServiceImpl<Shop> implements ShopService {

	@Override
	public List<Shop> query(ShopQueryParam param) {
		return dao.query(param);
	}

	private ShopDao dao;
	
	@Autowired
	public void setDao(ShopDao dao) {
		this.dao = dao;
	}


	@Override
	protected AppBaseDao<Shop, String> getDao() {
		return dao;
	}

}
